* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.w {
  width: 1200px;
  margin: 0 auto;
}
ol,
ul {
  list-style: none;
}
body {
  /* 抗锯齿化 */
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  background-color: rgb(240, 240, 240);
}
em,
i {
  font-style: normal;
}
img {
  border: 0;
  vertical-align: middle;
}
button {
  cursor: pointer;
}
input,
button {
  border: 0;
  outline: none;
}
a {
  color: #666666;
  text-decoration: none;
}
/* 清除浮动 */
.clearfix:after {
  visibility: hidden;
  clear: both;
  display: block;
  content: '.';
  height: 0;
}
